package cn.layku.service.member.mapper;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.Map;

@Repository("memberMapper")
public interface MemberMapper {

    /**
     * 添加
     */
    int insert(Map<String, Object> map);

    /**
     * 更新
     */
    int update(Map<String, Object> map);

    /**
     * 获取会员信息
     */
    Map<String, Object> get(@Param("memberId") Integer memberId);

}
